package org.tobaccomain.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.Year;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("year")
public class YearData {
    private Integer id;//主键id
    private Year year;//记录年份
    private Integer number;//记录年份对应的数量
}
